package cn.com.surker.enums.oa;

import cn.com.surker.enums.IDescription;

/**
 * @Author lucky
 * @create 2023年10月24 10:21
 * @desc 企业微信审批流程枚举
 */
public enum GroupProcessEnum implements IDescription {

    CONTRACT(0,"oa_contract_process", "项目移交"),
    RAPPORT(1,"oa_rapport_process", "配合费申请"),
    CERT(2,"oa_cert_process", "合格证流程"),
    TICKET(3,"oa_ticket_process", "商票申请"),
    SUPPLY(4,"oa_supply_process", "融资收款"),
    CHECK(5,"oa_check_process", "数据校正"),
    SYSTEM(6, "oa_system_process", "权限申请"),
    INVOICE(7, "oa_invoice_process", "发票开票申请");

    private final String description;
    private final String name;

    private final Integer code;

    GroupProcessEnum(Integer code, String name, String description) {
        this.description = description;
        this.code = code;
        this.name = name;
    }

    @Override
    public String getDescription() {
        return description;
    }
    public String getName() {
        return name;
    }

    public Integer getCode() {return code;}
}